<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CryptoChat.Models.ChatViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Chat
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Chat</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <ul>
        <% foreach ( CryptoChat.Models.User user in Model.OtherUsers)
           { %>
        <li><%= Html.Encode(user.ScreenName) %></li>
        <%} %>
        </ul>
    </fieldset>
    <p>
        <%=Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

